package com.workcell.workdata.xthings.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.workcell.workdata.xthings.entity.CodeChainnumUseStateData;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * 二维码码库每点使用状态
 *
 * @author guoyu
 * @Date 2023/2/25 9:06
 * @Description
 */
public interface CodeChainnumUseStateDataService extends IService<CodeChainnumUseStateData> {

    /**
     *
     * 入库
     */
    void add(LocalDateTime localDateTime);

    /**
     *
     * 查询
     * @param hardwareType
     * @param scheduledTime
     * @return
     */
    List<CodeChainnumUseStateData> getCountByTypeAndTime(String hardwareType, Date scheduledTime);
}
